package com.example.designpartten.middle;

import lombok.extern.slf4j.Slf4j;

/**
 * @author hql
 * @date 2020/4/10 16:32
 */
@Slf4j
public class ConColleage2 extends Colleage {
    /**
     * 用构造函数去实例，说明同事类必须包含管理中介类
     * 而中介类可以存在部分同事类
     *
     * @param midetor
     */
    public ConColleage2(Midetor midetor) {
        super(midetor);
    }

    public void doAnything() {
        log.info("同事类2做点什么！");
    }


}
